package com.flyxteam.wangyadaiza;

public class Maopao {
  
        public static void main(String[] args) {
            int arry[] = { 1, 3, 5, 7, 9 };
            for (int i = 0; i < arry.length; i++) {
                for (int j = 0; j < arry.length - 1 - i; j++) {
                    if (arry[j + 1] < arry[j]) {
                        int temp;
                        temp = arry[j + 1];
                        arry[j + 1] = arry[j];
                        arry[j] = temp;
                    }
                }
            }
            for (int i = 0; i < arry.length; i++) {
                System.out.print(arry[i]);

            }
            
            
        }

    }


